/* mrpd.t   Matrials Requirement Planning DELETE TRIGGER                      */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                        */
/* All rights reserved worldwide.  This is an unpublished work.               */
/* $Revision: 1.1 $                                                           */
/*V8:ConvertMode=NoConvert                                                    */
/* $Revision: 1.1 $       BY: Julie Milligan       DATE: 07/23/02   ECO: *P0BZ*  */
/******************************************************************************/

TRIGGER PROCEDURE FOR DELETE OF mrp_det.

/* Remove any Material Requirements Planning Pegging Detail associated with   */
/* The current mrp_det record.                                                */
for each mrpp_det where mrpp_supply_mrp_keyid = mrp_keyid exclusive-lock:
   delete mrpp_det.
end.
for each mrpp_det where mrpp_demand_mrp_keyid = mrp_keyid exclusive-lock:
   delete mrpp_det.
end.
